#include<iostream>
#include<map>
#include<string>
using namespace std;

int main()
{
	//type of the container
	typedef map<string,float> StringFloatMap;
	StringFloatMap coll;
	
	//insert some elements into the collection
	coll["VAT"] = 0.15;
	coll["Pi"] = 3.1415;
	coll["an arbitrary number"] = 4983.223;
	coll["Null"] = 0;
	
	//print all elements
	StringFloatMap::iterator pos;
	for(pos=coll.begin();pos!=coll.end();pos++){
		cout<<"key: \""<<pos->first<<"\"  "
			<<"value: "<<pos->second<<endl;
	}

	return 0;
}